﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UYD_WCS_AS_AGV_Controller.AGV.Fork
{
    public class PLCMsgModel
    {
        private int code;
        /// <summary>
        /// 读写PLC结果返回的状态码
        /// </summary>
        public int Code
        {
            get { return code; }
            set { code = value; }
        }

        private string msg;
        /// <summary>
        /// 读写PLC结果返回的消息
        /// </summary>
        public string Msg
        {
            get { return msg; }
            set { msg = value; }
        }

        private object val;
        /// <summary>
        /// 读写PLC结果返回的数据，写PLC时返回NULL
        /// </summary>
        public object Val
        {
            get { return val; }
            set { val = value; }
        }

    }
}
